package com.tengfei.main.user.domain.vo.course;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author feige
 * @version v1.0
 * @date 2022-08-10-11:05
 * @description
 */

@Data
public class UserVideoVo {

    @ApiModelProperty("视频id")
    private Long videoId;

    @ApiModelProperty("视频名称")
    private String videoName;

    @ApiModelProperty("视频地址")
    private String videoUrl;

    @ApiModelProperty("是否可以快进(0:不可快进,1:可以快进)")
    private Integer isForward;

    @ApiModelProperty("是否观看完成(0:未观看,1:已观看)")
    private Integer isFinish;

    @ApiModelProperty("观看到第多少秒钟")
    private Integer viewPoint;

    @ApiModelProperty("视频弹框题目")
    private List<ProblemPoint> problemPoint;

    @Data
    public class ProblemPoint {

        @ApiModelProperty("第多少秒")
        private Integer point;
        @ApiModelProperty("客观问题id")
        private Long objId;

    }
}
